<?php

use yii\helpers\Url;
use common\models\Posts;
?>
<link rel="stylesheet" href="/assets/css/product.css?2.0">

<div class="product">
    <div class="banner_top">
        <div class="intr-o">
            <font class="f-1">产品中心</font><br>
            <span></span>
        </div>
        <div class="intr-t">
            <font class="f-2">高效除尘 洁净排放<br>全新工业除尘解决方案</font>
            <span></span>
        </div>
    </div>
    <div class="prod-con">
        <div class="prod-nav" >
            <ul>
                <?php
                    if($pro_list){
                        foreach ($pro_list as $value) {

                ?>
                <li class="<?=$id==$value['id']?'act-li':''?>" >
                        <div class="nav-i left"><img src="<?=IMAGE_URL.$value['img_url']?>"></div>
                        <div class="nav-l left"><?=$value['pro_name']?></div>
                    </li>
                <?php }}else{?>
                <li class="act-li">
                    <div class="nav-i left"><img src="/assets/img/prod-nav-1.png"></div>
                    <div class="nav-l left">G-700</div>
                </li>
                <li>
                    <div class="nav-i left"><img src="/assets/img/prod-nav-1.png"></div>
                    <div class="nav-l left">G-700</div>
                </li>
                <li>
                    <div class="nav-i left"><img src="/assets/img/prod-nav-1.png"></div>
                    <div class="nav-l left">G-700</div>
                </li>
                <?php }?>
            </ul>
        </div>
        <div class="prod-intro">
            <?php
                if($pro_list){
                    foreach ($pro_list as $value) {

            ?>
            <div class="prod-intro-i">
                <?=$value['pro_content']?>
            </div>
            <?php }}else{?>
            <div class="prod-intro-i">111111
                <img src="/assets/img/prod-intro-i.png">
            </div>
            <div class="prod-intro-i">222222
                <img src="/assets/img/prod-intro-i.png">
            </div>
            <div class="prod-intro-i">333333
                <img src="/assets/img/prod-intro-i.png">
            </div>
            <?php }?>
        </div>
    </div>
</div>